#ifndef __RenderObjectListener_H__
#define __RenderObjectListener_H__


#include "U2PreRequest.h"
#include "U2Renderable.h"


U2EG_NAMESPACE_BEGIN



/** Abstract interface which classes must implement if they wish to receive
    events from the scene manager when single object is about to be rendered. 
*/
class _U2Share U2RenderObjectListener
{
public:
	virtual ~U2RenderObjectListener() {}

	/** Event raised when render single object started.
	@remarks
	This method is called by the SceneManager.
	@param rend The renderable that is going to be rendered.
	*/
	virtual void notifyRenderSingleObject(U2Renderable* rend) = 0;
};


U2EG_NAMESPACE_END


#endif

